<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: content:">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="default">
    <meta name="theme-color" content="#2196f3">
    <meta name="format-detection" content="telephone=no">
    <meta name="msapplication-tap-highlight" content="no">
    <title>单 view , 多 tab -- tab tab-active</title>
    <!-- <link rel="stylesheet" href="./framework7/css/framework7.min.css"> -->
    <link rel="stylesheet" href="./framework7/css/framework7.ios.min.css">
    <link rel="stylesheet" href="./css/icons.css">
    <link rel="stylesheet" href="./css/app.css">
</head>

<body>
    <div id="app">
        <!-- Your main view, should have "view-main" class -->
        <div class="view view-main ios-edges">
            <!-- Page, data-name contains page name which can be used in callbacks -->
            <div class="page">
                <div class="navbar">
                    <div class="navbar-inner sliding">
                        <div class="left">
                            <a href="#" class="link back">
                                <i class="icon icon-back"></i>
                                <span class="ios-only">返回</span>
                            </a>
                        </div>
                        <div class="title">Animated Tabs</div>
                    </div>
                </div>
                <div class="toolbar tabbar">
                    <div class="toolbar-inner">
                        <a href="#tab-1" class="tab-link tab-link-active">Tab 1</a>
                        <a href="#tab-2" class="tab-link">Tab 2</a>
                        <a href="#tab-3" class="tab-link">Tab 3</a>
                    </div>
                </div>
                <div class="tabs-animated-wrap">
                    <div class="tabs">
                        <div id="tab-1" class="page-content tab tab-active">
                            <div class="block">
                                <p>只有一个 html 文件，单 view , 多 tab，状态可缓存</p>
                                <p>切换 tab , 路由不会变，但是某个 tab 再进入下一级页面，路由可以变</p>
                                <div class="col-100">
                                    <div class="list inset">
                                        <ul>
                                            <li class="item-content item-input">
                                                <div class="item-inner">
                                                    <div class="item-input-wrap">
                                                        <input type="text" placeholder="您的名字">
                                                        <span class="input-clear-button"></span>
                                                    </div>
                                                </div>
                                            </li>
                                            <li class="item-content item-input">
                                                <div class="item-inner">
                                                    <div class="item-input-wrap">
                                                        <select placeholder="请选择性别..." value=''>
                                                                        <option value="Male">男</option>
                                                                        <option value="Female">女</option>
                                                                    </select>
                                                    </div>
                                                </div>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <a href="/echarts/" class="tab-link" data-route-tab-id="echarts">表格</a>
                            </div>
                        </div>
                        <div id="tab-2" class="page-content tab">
                            <div class="block">
                                <p>Tab 2 content</p>
                                <div class="col-100">
                                    <div class="list inset">
                                        <ul>
                                            <li class="item-content item-input">
                                                <div class="item-inner">
                                                    <div class="item-input-wrap">
                                                        <input type="text" placeholder="您的名字">
                                                        <span class="input-clear-button"></span>
                                                    </div>
                                                </div>
                                            </li>
                                            <li class="item-content item-input">
                                                <div class="item-inner">
                                                    <div class="item-input-wrap">
                                                        <select placeholder="请选择性别..." value=''>
                                                                        <option value="Male">男</option>
                                                                        <option value="Female">女</option>
                                                                    </select>
                                                    </div>
                                                </div>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <a href="/echarts/" class="tab-link" data-route-tab-id="echarts">表格</a>
                            </div>
                        </div>
                        <div id="tab-3" class="page-content tab">
                            <div class="block">
                                <p>Tab 3 content</p>
                                <div class="col-100">
                                    <div class="list inset">
                                        <ul>
                                            <li class="item-content item-input">
                                                <div class="item-inner">
                                                    <div class="item-input-wrap">
                                                        <input type="text" placeholder="您的名字">
                                                        <span class="input-clear-button"></span>
                                                    </div>
                                                </div>
                                            </li>
                                            <li class="item-content item-input">
                                                <div class="item-inner">
                                                    <div class="item-input-wrap">
                                                        <select placeholder="请选择性别..." value=''>
                                                                        <option value="Male">男</option>
                                                                        <option value="Female">女</option>
                                                                    </select>
                                                    </div>
                                                </div>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/echarts/4.1.0/echarts.min.js"></script>
    <script src="framework7/js/framework7.min.js"></script>
    <!-- <script src="./js/utils.js"></script> -->
    <script src="js/routes3.js"></script>
    <script src="js/app3.js"></script>
</body>

</html>